<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ConnectionZoneDemo1.aspx.cs" Inherits="ConnectionZoneDemo1" %>

<%@ Register Src="Provider1.ascx" TagName="Provider1" TagPrefix="uc1" %>
<%@ Register Src="Consumer1.ascx" TagName="Consumer1" TagPrefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:WebPartManager ID="WebPartManager1" runat="server">
            <StaticConnections>
                <asp:WebPartConnection ID="conn1" ConsumerConnectionPointID="MessageConsumer1" ConsumerID="MyConsumer" ProviderConnectionPointID="MessageProvider1" ProviderID="MyProvider">
                </asp:WebPartConnection>
            </StaticConnections>
        </asp:WebPartManager>
        &nbsp;&nbsp;
        <asp:DropDownList ID="drdModelist" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drdModelist_SelectedIndexChanged"
            Style="position: relative">
        </asp:DropDownList>
        <asp:WebPartZone ID="WebPartZone1" runat="server" Style="position: relative">
            <ZoneTemplate>
                <uc1:Provider1 ID="MyProvider" runat="server"/>
            </ZoneTemplate>
        </asp:WebPartZone>
        <asp:WebPartZone ID="WebPartZone2" runat="server" Style="position: relative">
            <ZoneTemplate>
                <uc2:Consumer1 ID="MyConsumer" runat="server" />
            </ZoneTemplate>
        </asp:WebPartZone>
        </div>
    </form>
</body>
</html>
